package com.example.portlocalforward.controller.model;

import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * SSH隧道响应模型
 * 
 * @author Generated
 * @version 1.0.0
 */
@ApiModel(description = "SSH隧道响应信息")
@Data
public class SshTunnelResponse {
    
    @ApiModelProperty(value = "隧道ID", example = "1")
    private Long id;
    
    @ApiModelProperty(value = "隧道名称", example = "生产服务器")
    private String name; // 隧道名称
    
    @ApiModelProperty(value = "隧道地址", example = "192.168.1.100")
    private String host; // 隧道地址
    
    @ApiModelProperty(value = "隧道端口", example = "22")
    private int port; // 隧道端口
    
    @ApiModelProperty(value = "隧道用户名", example = "root")
    private String username; // 隧道用户名
    
    @ApiModelProperty(value = "隧道密码", example = "password123")
    private String password; // 隧道密码
    
    @ApiModelProperty(value = "创建时间", example = "2024-01-01T10:00:00")
    private LocalDateTime createdTime; // 创建时间
    
    @ApiModelProperty(value = "更新时间", example = "2024-01-01T10:00:00")
    private LocalDateTime updatedTime; // 更新时间
}
